package com.cwf.security.validation.login;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@ToString
public class UserLoginRequestParam {


    @NotBlank
    @Length(min = 6,max = 11)
    private String userName;

    @NotBlank
    @Length(min = 6,max = 20)
    private String password;

    private String uuid;

    private String code;
}
